package com.lzh.tiktok.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lzh.tiktok.user.entity.UserEntity;
import com.lzh.tiktok.user.vo.UserResponseVo;
import com.lzh.tiktok.user.vo.UserVo;

/**
 * @author lizhihang
 * @create 2023-01-16 20:08
 */
public interface UserService extends IService<UserEntity> {
    UserEntity register(String username, String password);

    UserEntity login(String username, String password);

    UserVo getUserInfo(Integer userId,String token);
}
